<?php
// +--------------------------------------------------------------------------
// | ZAIYOUDAO [ 载攸道 先顺得常 ] <http://www.zaiyoudao.com>
// +--------------------------------------------------------------------------
// | Copyright © 2009-2016 载攸道 版权所有 <TEL:17090888854>
// +--------------------------------------------------------------------------
// | Project: YiPHP [ 我会的仅仅是偷懒！ ] <http://www.yiphp.com>
// +--------------------------------------------------------------------------
// | Author: 牛很多戒很多不戒 <n@isdce.com> <http://juexue.wang>
// +--------------------------------------------------------------------------

/**
 * ajax上传
 */
namespace Addon\WeiXin\Controller;
use Addon\WeiXin\Controller\CommonController;

/**
 * AjaxUpload上传插件 TODO上传其他类型文件
 */
class RechargeController extends CommonController {
    
	
	//支付订单 TODO订单类型 商城订单和充值订单的区分
	public function Goods(){
		
		$m_mall_content = M('mall_content');
		
		$map['type'] = get_mall_model_conf('MALL_RECHARGE');
		$map['status'] = 1;
		
		$list = $m_mall_content->where($map)->select();
		
		$this->assign('list',$list);
		
		
		$this->view();
	}
	

	
	
}